import request from '@/plugins/request'
// 登录接口
export function AccountLogin (data: Record<string, any>) {
    return request({
        url: 'wapi/auth/oauth/token',
        method: 'get',
        data
    });
}

export function AccountRegister (data: Record<string, any>) {
    return request({
        url: '/auth/token/logout',
        method: 'post',
        data
    });
}
